function tryx(func) {
	try {
		func();
	} catch (e) {

		 alert("login.js::" + e.number + ":" + e.message + "  " + e.stack);
	}
}

try {
	tryx(function() {
		document.getElementById('username').value = 'attilax';
	});
	tryx(function() {
		document.getElementById('password').value = '000000';

	});
	// $("#username").value="aaa";
	//	 alert($("#username").value);

	// var arrP4a=document.getElementsByName("submit");
	//	 alert("a10:"+arrP4a);
	//	 var a1=arrP4a[0];
	//	 alert("a1:"+a1);
	//	 var a2=arrP4a.item(0);
	//	 alert("a2:"+a2);
	window.setTimeout(function() {
		document.getElementsByName("submit").item(0).click();

	}, 1000);

	//window.setTimeout(function(){
	//	alert("start to pub");
	//window.location="http://localhost/destoon/member/my.php?mid=5&action=add&aP4=js";
	//},25000);

} catch (e) {

	alert("login.js::" + e.number + ":" + e.message + "  " + e.stack);
}